/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package downloadmanager.downloader;

/**
 *
 * @author Administrator
 */
  public class CalculatedSegment
    {
        private long startPosition;
        private long endPosition;

        public long getStartPosition()
        {
            return startPosition;
        }

        public long getEndPosition()
        {
            return endPosition; 
        }

        public CalculatedSegment(long startPos, long endPos)
        {
            this.endPosition = endPos;
            this.startPosition = startPos;
        }
    }